<?php
function __autoload($className)
{
    $fileName = str_replace('_', '/', $className) . '.php';
    $file = PROJECT_PATH . $fileName;
    
    if(file_exists($file)){
        require_once $file;
    }
}